import { BaseModel } from './../service/base.service';
import { formItemType, FormItemType } from '../form-helper';
export class ArticleModel extends BaseModel { 
    @formItemType("文章标题")
    public title?: string = '';
    @formItemType("创建日期", FormItemType.DATE)
    public created_at?: string = '';
    @formItemType("作者")
    public authorId?: string = '';
    @formItemType("文章内容", FormItemType.EDITOR)
    public content?: string = '';
}